//
//  ATStaTool.h
//  YanZhao
//
//  Created by 林涛 on 15/4/30.
//  Copyright (c) 2015年 AT. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ATStaTool : NSObject
/**
 *  deviceToken
 */
@property (nonatomic, copy) NSString *deviceToken;

+ (void)initToolWithLaunchOptions:(NSDictionary *)launchOptions;
+ (void)logPageView:(NSString *)pageName seconds:(int)seconds;
+ (void)beginLogPageView:(NSString *)pageName;
+ (void)endLogPageView:(NSString *)pageName;
+ (void)registerDeviceToken:(NSData *)deviceToken;
+ (void)didReceiveNotification:(NSDictionary *)userInfo dealWithAsk:(BOOL)ask;

+ (void)logClick:(NSString *)name;
+ (void)logDevice:(NSString *)name;
/**
 *  接收到推送
 */
FOUNDATION_EXPORT NSString * const ATReciveRemotePushNotification;
@end
